﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ninject.Modules;
using blogn.Interfaces;
using blogn.Data;
using blogn.Models;

namespace blogn
{
    public class DependencyModule : NinjectModule
    {
        public override void Load()
        {
            this.Kernel.Bind<IBlogDataAdapter>().To<SQLBlogDataAdapter>();
            this.Kernel.Bind<IConfiguration>().To<Configuration>();
        }
    }
}
